import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { CDSModule } from '../comm-components/directives/validator.module';
import {MenuService} from '../lib/service/admin/menu.service';
import {PermissionsModule} from './permissions/permissions.module';
import {Ng2BootstrapModule} from 'ngx-bootstrap';
import {AdminComponent} from './admin.component';
import {AdminRoutingModule} from './admin-routing.module';
import {MenuComponent} from './menu/menu.component';
import {PageTopComponent} from './page-top/page-top.component';
import {LoginComponent} from './login/login.component';
import {CouponsModule} from './coupons/coupons.module';

@NgModule({
  imports: [
    CommonModule,
    PermissionsModule,
    CouponsModule,
    AdminRoutingModule,
    CDSModule,
    Ng2BootstrapModule,
    FormsModule,
  ],
  declarations: [
    AdminComponent,
    MenuComponent,
    PageTopComponent,
    LoginComponent,
  ],
  providers: [
    MenuService
  ]
})
export class AdminModule { }
